package 接口.菜单案例2;

public class Customer {
    private FoodMenu foodMenu;

    public Customer(FoodMenu foodMenu) {
        this.foodMenu = foodMenu;
    }

    public FoodMenu getFoodMenu() {
        return foodMenu;
    }

    public void setFoodMenu(FoodMenu foodMenu) {
        this.foodMenu = foodMenu;
    }

    public void order(){
        foodMenu.fccjd();
        foodMenu.ysars();
    }
}
